﻿using ProtoBuf;

namespace DHTools
{
    [ProtoContract]
    public class XModel
    {
        [ProtoMember(1)]
        public string name;

        [ProtoMember(2)]
        public byte[] model;

        [ProtoMember(3)]
        public XTexture[] texs;
    }

    [ProtoContract]
    public class XTexture
    {
        [ProtoMember(1)]
        public string name;

        [ProtoMember(2)]
        public int w;

        [ProtoMember(3)]
        public int h;

        [ProtoMember(4)]
        public byte[] data;
    }
}